package com.wiscamp.ninechapters.problems.infrastructure.mappers.spider;

import com.wiscamp.ninechapters.problems.infrastructure.po.spider.ProblemsEdulastic;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

import java.util.Collection;

@Repository
@Deprecated
public interface ProblemsEdulasticMapper extends JpaRepository<ProblemsEdulastic, Long>, JpaSpecificationExecutor<ProblemsEdulastic> {

    Collection<ProblemsEdulastic> findByProcessedFalseAndGrades(String grades);

    Collection<ProblemsEdulastic> findByProcessedFalse();
}